package com.org.gsc.zsqdemo2;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
 * Created by qundui on 2017/6/22.
 */
public  abstract class BaseFragment extends Fragment {
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return initview(inflater,container,savedInstanceState);
    }

    protected abstract View initview(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState);
}
